package hn.cch.feature.stream;

import org.junit.Assert;
import org.junit.Test;

import java.util.Optional;


public class OptionalTest {


    @Test
    public void test() {

        Optional<ElementEntity> elementOptional = Optional.ofNullable(ElementEntity.getEntity());
        Assert.assertTrue(elementOptional.isPresent());
    }
}